package org.example.service;

import org.example.dao.UserMapper;
import org.example.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Description: 提供用户身份验证相关方法
 * Author: Amao
 * Date: 2023/5/24
 */

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public List<User> findAllUser() {
        return userMapper.selectAll();
    }
}
